package com.yanqu.road.logic.bussiness.platform;

import com.yanqu.road.entity.platform.PlatformDeductIngotsOrder;
import com.yanqu.road.logic.bussiness.DaoHelper;

import java.util.List;


public class DeductIngotBussiness {

    public static List<PlatformDeductIngotsOrder> getPlatformDeductIngotsOrderList(long userId) {
        return DaoHelper.getDeductIngotsDaoImpl().getPlatformDeductIngotsOrderList(userId);
    }

    public static boolean addPlatformDeductIngotsOrder(PlatformDeductIngotsOrder data) {
        return DaoHelper.getDeductIngotsDaoImpl().addPlatformDeductIngotsOrder(data);
    }

    public static PlatformDeductIngotsOrder getPlatformDeductIngotsOrder(String orderNo) {
        return DaoHelper.getDeductIngotsDaoImpl().getPlatformDeductIngotsOrder(orderNo);
    }

    public static boolean updatePlatformDeductIngotsOrderStatus(PlatformDeductIngotsOrder data) {
        return DaoHelper.getDeductIngotsDaoImpl().updatePlatformDeductIngotsOrderStatus(data);
    }
}
